gdk/toplevel: fix declarations of GdkToplevelSize
authorAndreas Persson <andreasp56@outlook.com>
Thu, 6 Aug 2020 14:14:10 +0000 (16:14 +0200)
committerAndreas Persson <andreasp56@outlook.com>
Thu, 6 Aug 2020 14:14:10 +0000 (16:14 +0200)
GDK_AVAILABLE_IN_ALL was missing from gdk_toplevel_size_get_bounds and
gdk_toplevel_size_set_max_size was declared though it doesn't exist.

gdk/gdktoplevelsize.h

index 731ea6379ae4b444363d63da8fa2f81fb514c44c..013a061ee9a9132e83ef84e8afb4ce6dc94700f6 100644 (file)
@@ -29,7 +29,7 @@
 G_BEGIN_DECLS
 
 /**
- * GdkTopLevelSize:
+ * GdkToplevelSize:
  *
  * Struct containing information for computing the size of a #GdkToplevel.
  */
@@ -40,6 +40,7 @@ typedef struct _GdkToplevelSize GdkToplevelSize;
 GDK_AVAILABLE_IN_ALL
 GType                   gdk_toplevel_size_get_type      (void);
 
+GDK_AVAILABLE_IN_ALL
 void                    gdk_toplevel_size_get_bounds    (GdkToplevelSize       *size,
                                                          int                   *bounds_width,
                                                          int                   *bounds_height);
@@ -52,10 +53,6 @@ GDK_AVAILABLE_IN_ALL
 void                    gdk_toplevel_size_set_min_size  (GdkToplevelSize       *size,
                                                          int                    min_width,
                                                          int                    min_height);
-GDK_AVAILABLE_IN_ALL
-void                    gdk_toplevel_size_set_max_size  (GdkToplevelSize       *size,
-                                                         int                    max_width,
-                                                         int                    max_height);
 
 G_END_DECLS